<mat-card>
    <mat-card-header>
        <!-- <div mat-card-avatar>avatar</div> -->
        <mat-card-title>{{item.name}}</mat-card-title>
        <!-- <mat-card-subtitle>sub-header</mat-card-subtitle> -->
    </mat-card-header>
    <img mat-card-image [src]="item.coverImg" alt="项目封面" />
    <mat-card-content>
        {{item.desc}}
    </mat-card-content>
    <mat-card-actions>
        <button mat-button (click)="editClick()">
            <mat-icon>note</mat-icon>
            <span>编辑</span>
        </button>
        <button mat-button (click)="onInviteClick()">
            <mat-icon>group</mat-icon>
            <span>邀请</span>
        </button>
        <button mat-button (click)="deleteClick()">
            <mat-icon>delete</mat-icon>
            <span>删除</span>
        </button>
    </mat-card-actions>
</mat-card>